package com.colin.aiyi.presenter.Imp_de;

import com.colin.aiyi.dao.ImpxUtils3_de.ImpOther;
import com.colin.aiyi.presenter.Interface_Derecated.AbsPresenter;

/**
 * Created by hl on 2017/6/8.
 */
@Deprecated
public class ImpPOther extends AbsPresenter {
    ImpOther impOther=new ImpOther();
    @Override
    public void onSuccess(Object t) {
                sendMsgToView(t);

    }

    /********
     *忘记密码发送验证码
     * @param phoneNum
     */
    public void sendCode_forgetPw(String phoneNum){
            impOther.sendCodeforgetPw(this,phoneNum);
    }

    /********
     * 忘记密码后重置密码
     */
    public void resetPW_forget(String telNo,String passwd,String vcode){
            impOther.resetPW_forget(this,telNo,passwd,vcode);
    }


    /********
     *修改密码发送验证码
     * @param phoneNum
     */
    public void sendCode_updatePW(String phoneNum){
        impOther.sendCode_updatePW(this,phoneNum);

    }


    public void updatePassword(String telNo,String passwd,String oldPasswd,String vcode) {
        impOther.updatePassword(this,telNo,passwd,oldPasswd,vcode);
    }

}
